Set Infozip$Dir <Obey$Dir>
IconSprites <Infozip$Dir>.!Sprites
If "<Boot$OSVersion>">=400 Then IconSprites <Infozip$Dir>.4Sprites

RMEnsure WindowManager 400 IconSprites <Infozip$Dir>.Resources.file_xxx
|Add RISC OS 4-style 'unknown filetype' sprite in place of blank white one.
|Comment this out if you find it annoying!

Set Infozip$DontCompress "68E,3FB,FCA,C85,695,1AD"
| (You can edit this list to add more compressed filetypes)

If "<Alias$@RunType_DDC>" = "" Then Set Alias$@RunType_DDC Run <Infozip$Dir>.!Run -zip %%*0
If "<File$Type_DDC>" = "" Then Set File$Type_DDC Archive

If "<Alias$@RunType_A91>" = "" Then Set Alias$@RunType_A91 Run <Infozip$Dir>.!Run -zip %%*0
If "<File$Type_A91>" = "" Then Set File$Type_A91 Zip
| now defined by RISC OS Select

| Add Info-ZIP routines to Run$Path
If "<Infozip$Path>" =  "" Then Set Run$Path <Run$Path>,Infozip:
Set Infozip$Path <Infozip$Dir>.Routines.

| Set up our alias veneers for zip and unzip (700K seems to work...)
Set Alias$zip WimpSlot -min 700K -max 700K|M%%zip %%*0
Set Alias$unzip WimpSlot -min 700K -max 700K|M%%unzip %%*0

Set Infozip$debugfile "IDEFS::4.$.Ziplog"